<?php
/*
 * @Date: 2021-05-08 11:47:47
 * @Author: yukun
 * @LastEditors: yukun
 * @LastEditTime: 2021-05-08 11:54:58
 * @FilePath: /design-patterns-study/观察者模式/HobbyConstants.php
 * @Description: 本文件主要功能为：
 */

class HobbyConstants
{
    /** @var string 运动 */
    const SPORT = 'sport';
    /** @var string 食品 */
    const FOOD  = 'food';
    /** @var string 学习 */
    const STUDY = 'study';

    public static function getConstants() {
        $objClass = new ReflectionClass(__CLASS__);
        $arrConst = $objClass->getConstants();

        return $arrConst;
    }
}
